import {Component, OnInit, Input, OnChanges, SimpleChanges} from '@angular/core';

@Component({
    selector: 'app-consumables-use',
    templateUrl: './consumables-use.component.html'
})
/**
 * @author csw
 * @description:预约-耗材使用情况共享业务组件
 * @date 2021-01-28 15:11:02
 */
export class ConsumablesUseComponent implements OnInit, OnChanges {
    // 耗材使用情况表格数据
  @Input() consumableDataConfig: any[];
   consumablesUsageList: any [] = [];

    constructor() {
    }

    ngOnInit() {
    }
ngOnChanges(changes: SimpleChanges): void {
      if ( changes.consumableDataConfig) {
        this.consumablesUsageList = changes.consumableDataConfig.currentValue;
      }
}
}
